package org.microframework.cloud.logs.model.dto;

import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 登录日志数据传输对象
 *
 * @author zs
 * @version 1.0.0
 * @since 2024-06-14
 */
@Data
@Schema(description = "登录日志数据传输对象")
public class LoginLogDTO {
    
    @Schema(description = "日志ID")
    private String id;
    
    @Schema(description = "用户名")
    private String username;
    
    @Schema(description = "登录IP地址")
    private String ipAddress;
    
    @Schema(description = "登录地点")
    private String loginLocation;
    
    @Schema(description = "浏览器类型")
    private String browser;
    
    @Schema(description = "操作系统")
    private String os;
    
    @Schema(description = "登录状态（0成功 1失败）")
    private Integer status;
    
    @Schema(description = "提示消息")
    private String msg;
    
    @Schema(description = "登录时间")
    private Date loginTime;
    
    @Schema(description = "创建时间")
    private Date createTime;
    
    @Schema(description = "更新时间")
    private Date updateTime;
} 